import Cookies from 'js-cookie'

const TokenKey = 'hr-token'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function removeToken() {
  return Cookies.remove(TokenKey, { domain: 'hr.xl.com', path: '/' })
}
